package com.loooooo.pm2024.modules.pm.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.loooooo.pm2024.config.BigIDSerialize;
import com.loooooo.pm2024.data.BaseEntity;

import java.io.Serializable;

public class TaskLog extends BaseEntity implements Serializable {
    @JsonSerialize(using = BigIDSerialize.class)
    private Long issueId;
    @JsonSerialize(using = BigIDSerialize.class)
    private Long taskId;
    @JsonSerialize(using = BigIDSerialize.class)
    private Long ownerId;

    private String type;

    private Long startAt;
    private Long endAt;

    public Long getIssueId() {
        return issueId;
    }

    public void setIssueId(Long issueId) {
        this.issueId = issueId;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public Long getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Long ownerId) {
        this.ownerId = ownerId;
    }

    public Long getStartAt() {
        return startAt;
    }

    public void setStartAt(Long startAt) {
        this.startAt = startAt;
    }

    public Long getEndAt() {
        return endAt;
    }

    public void setEndAt(Long endAt) {
        this.endAt = endAt;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
